package com.lcj.ems.dao;

import com.lcj.ems.entity.Emp;
import com.lcj.ems.exception.DataAccessException;

import java.util.List;

public interface EmpDao {
    void insertEmp(Emp emp) throws DataAccessException;
    List<Emp> selectAll() throws DataAccessException;
    void updateEmp(Emp emp) throws DataAccessException;
    Emp selectEmpById(Integer i) throws DataAccessException;
    void deleteEmpById(Integer id) throws  DataAccessException;
}
